﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/HRManagerUI/HrManager.Master" AutoEventWireup="true" CodeBehind="EditEmployeePersonal.aspx.cs" Inherits="HRM.UI.HRManagerUI.EmpModule.EditEmployeePersonal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
     <link href="../../../Scripts/htmlDatePicker.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/htmlDatePicker.js" type="text/javascript"></script>
    <link href="../../../Styles/Employee/AddEmployeePersonalInfoCss.css" rel="stylesheet"
        type="text/css" />
    <fieldset>
        <legend>Search Employee For Editing</legend>
        <table class="employeeCodeSearchTB">
            <tr>
                <td style="text-align: right;width:50%">
                    Employee Code(Ex:XXX101)
                </td>
                <td style="width:50%" colspan="2">
                    <input type="text" id="txtEmpCode" runat="server" class="textboxinputt"/>
                    &nbsp;
                    <input id="Submit1" type="submit" value="Search"
                        runat="server" onserverclick="SearchEmployee" class="btnCss" />
                </td>
               
            </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>Employee Personal Info</legend>
        <div style="text-align: center"> <asp:Label runat="server" ID="msgLabel"></asp:Label></div>
        <table id="AddEmployeeInfoTB">
          <tr>
                <td class="Label">
                    Employee Code
                </td>
                <td class="Field">
                    <input type="text" id="employeeCode" runat="server" class="textboxinput" readonly="readonly" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Employee Name
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtName" class="textboxinput" /><span class="estaricStar">*</span>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Father's Name
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtFname" class="textboxinput" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Mother's name
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtMname" class="textboxinput" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Sex
                </td>
                <td class="Field">
                    <select id="ddlsex" runat="server" class="dropdownCss">
                        <option value="default">--Choose Any--</option>
                        <option value="Male">Male</option>
                        <option value="Female">Female</option>
                    </select><span class="estaricStar">*</span>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Blood Group
                </td>
                <td class="Field">
                    <select id="ddbloodgroup" runat="server" class="dropdownCss">
                        <option value="default">--Choose Any--</option>
                        <option value="A+">A+</option>
                        <option value="A-">A-</option>
                        <option value="B+">B+</option>
                        <option value="B-">B-</option>
                        <option value="O+">O+</option>
                        <option value="O-">O-</option>
                        <option value="AB+">AB+</option>
                        <option value="AB-">AB-</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Date Of Birth
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtDob" class="textboxinput" readonly onclick="GetDate(this);" /><span
                        class="estaricStar">*</span>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Email
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtEmail" class="textboxinput" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Nationality
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtnationality" class="textboxinput" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    National ID
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtNationalID" class="textboxinput" />
                </td>
            </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>Professional Info</legend>
        <table class="ProfessionalInfoTB">
            <tr>
                <td class="Label">
                    Designation
                </td>
                <td class="Field">
                    <select id="ddlEmpdesignation" runat="server" class="dropdownCss">
                    </select><span class="estaricStar">*</span><br/>[Previous Designation:<asp:Label runat="server" id="desigPara"></asp:Label>]
                </td>
            </tr>
           
            <tr>
                <td class="Label">
                    Skill
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtSkill" class="textboxinput" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Joining Date
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtJoiningDate" class="textboxinput" readonly
                        onclick="GetDate(this);" /><span class="estaricStar">*</span>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Contact Finish Date
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtContatFinishDate" class="textboxinput" readonly
                        onclick="GetDate(this);" />
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Project
                </td>
                <td class="Field">
                    <select id="ddlEmpProject" runat="server" class="dropdownCss">
                    </select><span class="estaricStar">*</span><br/>
                    <br/>[Previous Project:<asp:Label runat="server" id="projectPara"></asp:Label>]
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Employee Catagory
                </td>
                <td class="Field">
                    <select id="ddempCatagory" runat="server" class="dropdownCss">
                    </select><span class="estaricStar">*</span>
                     <br/>[Previous Catagory:<asp:Label runat="server" id="catagoryPara"></asp:Label>]
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Status
                </td>
                <td class="Field">
                    <select id="ddStatus" runat="server" class="dropdownCss">
                        <option>Active</option>
                        <option>Suspend</option>
                        <option>Retire</option>
                        <option>Leave without pay</option>
                        <option>OSD</option>
                    </select>
                </td>
            </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>Educatinal Info</legend>
        <table class="EducationalInfoTB">
            <tr>
                <td class="Label">
                    Education
                </td>
                <td class="Field">
                    <input type="text" runat="server" id="txtEducation" class="textboxinput" /><br />
                    <span class="lastExam">(Last Exam name)</span>
                </td>
            </tr>
            <tr>
                <td class="Label">
                    Resume
                </td>
                <td class="Field">
                    <input type="file" id="uploadresume" runat="server" class="inputUplodbox" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="Field">
                    <input type="submit" value="Update" id="btnNext" class="btnCss" runat="server" onserverclick="UpdatingEmployee" />
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
